<?
package('jpunit.framework');

/**
 * $Id: Protectable.php,v 1.5 2004/08/26 00:51:28 japha Exp $
 *
 * A <em>Protectable</em> can be run and can throw a Throwable.
 *
 * @see TestResult
 * @author <a href="mailto:gantt@cs.montana.edu">Ryan Gantt</a>
 * @version $Revision: 1.5 $
 */
interface Protectable
{
	/**
	 * Run the the following method protected.
	 *
	 * @param test An object of type Test to run methods on in the protected environment
	 * @throws Throwable When an exception occurs
	 */
	public function protect( Test $test );
}
?>